package com.example.demo.controller;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class MyController {
	
	@GetMapping("test")
	public Map<String, Object> test() {
		System.out.println("a");
		Map<String, Object> map = new HashMap<>();
		map.put("time", new Date());
		return map;
	}

}
